package com.zimin.cloud.mine.pojo.wiki.business;

import com.zimin.shared.pojo.BasePageBusiness;
import lombok.*;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <p>
 * 电子书 业务对象
 * </p>
 *
 * @author zimin
 * @since 2021-10-27 21:02
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class EbookBO extends BasePageBusiness implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "id不可为空")
    private String id;

    private String name;

    private String category;

    private String secondary;

    private String description;

    private String cover;

    private Integer docCount;

    private Integer viewCount;

    private Integer voteCount;

}
